package com.app.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginForm {


    @NotBlank(message = "用户名不能为空")//用于字符和字符串
    private String username;




    @NotBlank(message = "密码不能为空")
    private String password;

}
